module.exports = {

  /* 服务器信息 */
  "IS_LOCAL": true,//是否为本地部署，false为BAE部署

  /* BAE服务器端口 */
  "SERVER_PORT": 18080,

  /* 数据库信息 */
  "DB_HOST": "mongo.duapp.com",
  "DB_PORT": 8908,
  "DB_NAME": "",
  "DB_USER": "",
  "DB_PASS": "",
  "MONGOOSE_DEBUG": false,

  /* 自定义设置 */
  "AB_VERIFYCODE": "!ABV",//固定验证码值, 自定义
  "TIMEOUT_COUNT": 5,//超时查询，最多查5次

  /* 基本操作需要的信息，无须改动 */
  "HOST": "check.ptlogin2.qzone.com",
  "PATH": "/check",
  "APPID": 549000929,
  "PTLANG": 2052,

  "LOGIN_HOST": "ptlogin2.qzone.com",
  "LOGIN_PATH": "/login",
  "LOGIN_REFERER": "http://ui.ptlogin2.qzone.com/cgi-bin/login?style=9&appid=549000929&pt_ttype=1&s_url=http%3A%2F%2Fm.qzone.com%2Finfocenter",

  "VISITOR_PATH": "http://m.qzone.com/mqz_get_visitor",
  "GET_SIG_URL": "http://captcha.qq.com/getsig",
  "GET_SIG_HOST": "captcha.qq.com",
  "GET_VC_URL": "http://captcha.qq.com/getimgbysig",
  "CHECK_VC_URL": "http://captcha.qq.com/cap_union_verify",

  "LOGIN_PARAMS": {
    "verifycode": '',
    "u": "",
    "p": "",
    "pt_rsa": 0,
    "ptlang": 2052,
    "low_login_enable": 0,
    "u1": "http://m.qzone.com/infocenter",
    "from_ui": 1,
    "fp": "loginerroralert",
    "device": 2,
    "aid": 549000929,
    "pt_ttype": 1,
    "ptredirect": 1,
    "h": 1,
    "g": 1,
    "pt_uistyle": 9
  },

  "HEADERS": {
    'Accept': '*/*',
    'Accept-Encoding': 'gzip, deflate',
    'Accept-Language': 'zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3',
    'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; rv:29.0) Gecko/20100101 Firefox/29.0',
    'Connection': 'keep-alive',
    'Referer': 'http://ui.ptlogin2.qzone.com/cgi-bin/login?style=9&appid=549000929&pt_ttype=1&s_url=http%3A%2F%2Fm.qzone.com%2Finfocenter'
  }
}